{config_load file="inserat.txt"}
{config_load file="inserat.txt" section=inseratInfo}

<div id="contentFull">
{if $noaccess}
    <h2>{#listing#} "{$data.title}" {#cantdelete#}!</h2>
    
    <div id="errorText">
        <p>{#ndp1#}</p>
        <p>{#ndp2#}</p>
    </div>
    
{else}
    {if $confirmed}
        <h2>{#listing#} "{$data.title}" {#deleted#}!</h2>
        <div id="confirmText">
            <p>{#confdelp1#}</p>
            <p>{#confdelp2#}</p>
            <p class="linkHome"><a href="{$INA.root}">{#gostart#}</a></p>
        </div>
    {else}
        <h2>Delete Listing</h2>
        <form method="POST" action="{$INA.this}?do=delete&confirm={$smarty.get.confirm}">
            <p>{#reallydelete#} "<a href="{$INA.this}">{$data.title}</a>"?</p>
            <input type="submit" name="delete" value="{#delbut#}" />
        </form>
    {/if}
{/if}
</div>